﻿CREATE TABLE [dbo].[MsgNotifyRecord] (
    [Id]            BIGINT          IDENTITY (1, 1) NOT NULL,
    [Destination]   NVARCHAR (1000) NOT NULL,
    [SendContent]   NTEXT           NOT NULL,
    [ReturnMessage] NTEXT           NULL,
    [SendTime]      DATETIME        NOT NULL,
    CONSTRAINT [PK_MsgNotifyRecord] PRIMARY KEY CLUSTERED ([Id] ASC)
);


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'通知发送的接收方', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'MsgNotifyRecord', @level2type = N'COLUMN', @level2name = N'Destination';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'发送内容', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'MsgNotifyRecord', @level2type = N'COLUMN', @level2name = N'SendContent';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'发送后的返回信息', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'MsgNotifyRecord', @level2type = N'COLUMN', @level2name = N'ReturnMessage';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'发送时间', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'MsgNotifyRecord', @level2type = N'COLUMN', @level2name = N'SendTime';

